//vendors
require("angular");
require("angular-animate");
require("angular-local-storage");
require("angular-ui-router");
require("angular-translate");
require("angular-resource");
require("angular-ui-grid/ui-grid");
require("angular-hotkeys");
require("angular-clipboard");
require("angular-bootstrap-nav-tree");
require("angular-bootstrap-contextmenu");
require("angular-file-upload");
require("mousetrap");
require("ocLazyLoad");
//require("angular-image-viewer");
//require("pdfjs-dist");
var FileSaver = require("file-saver");
var PerfectScrollbar = require("perfect-scrollbar").default;
var Big = require("big.js");
//extended vendors
require("./src/js/vendors_extend/logger/angular-logger.js");
require("./src/js/vendors_extend/chart/Chart.js");
require("./src/js/vendors_extend/chart/angular-chart.js");
require("./src/js/vendors_extend/bootstrap/ui-bootstrap-tpls.js");
require("./src/js/vendors_extend/bootstrap/bootstrap-colorpicker-module.js");
require("./src/js/vendors_extend/uigrid/ui-grid-ext.js");
//authorization
require("./src/js/authorization/authorization.js");
require("./src/js/authorization/directive/authorizationDirective.js");
//storage
require("./src/js/storage/storage.js");
require("./src/js/storage/config/storageConfig.js");
require("./src/js/storage/constants/storageConstants.js");
require("./src/js/storage/service/storageService.js");
//logger"
require("./src/js/logger/logger.js");
require("./src/js/logger/config/loggerConfig.js");
require("./src/js/logger/service/loggerService.js");
//keydown
require("./src/js/keydown/keydown.js");
require("./src/js/keydown/service/keydownService.js");
//formatter
require("./src/js/formatter/formatter.js");
require("./src/js/formatter/constants/formatterConstants.js");
require("./src/js/formatter/service/formatterService.js");
require("./src/js/formatter/directive/formatterDirective.js");
//common
require("./src/js/common/common.js");
require("./src/js/common/service/commonService.js");
require("./src/js/common/service/arithService.js");
require("./src/js/common/service/dateService.js");
require("./src/js/common/service/i18nService.js");
require("./src/js/common/filter/commonFilter.js");
//menu
require("./src/js/menu/menu.js");
require("./src/js/menu/constants/menuConstants.js");
require("./src/js/menu/directive/menuDirective.js");
//http
require("./src/js/http/http.js");
require("./src/js/http/constants/httpConstants.js");
require("./src/js/http/config/httpConfig.js");
require("./src/js/http/service/httpService.js");
//router
require("./src/js/router/router.js");
require("./src/js/router/config/routerConfig.js");
require("./src/js/router/service/routerService.js");
//validator
require("./src/js/validator/validator.js");
require("./src/js/validator/constants/validatorConstants.js");
require("./src/js/validator/service/validatorService.js");
require("./src/js/validator/directive/validatorDirective.js");
//dialog
require("./src/js/dialog/dialog.js");
require("./src/js/dialog/controller/dialogController.js");
require("./src/js/dialog/service/dialogService.js");
require("./src/js/dialog/directive/dialogDirective.js");
//component
require("./src/js/component/component.js");
require("./src/js/component/config/componentConfig.js");
require("./src/js/component/service/componentService.js");
require("./src/js/waf/waf.js");

//css
require('./waf.config.scss');

// expose mousetrap to the global object
window.PerfectScrollbar = PerfectScrollbar;
window.Big = Big;
window.FileSaver = FileSaver;
window.saveAs = FileSaver.saveAs;